import { checkNameForm } from "../commonFormRuler_string";
export default {
  component: {//展示型组件信息，每个组件的信息各不相同
    componentName: 'columnImage', // 组件名称
    settings: {// 对应的设置项， 可能不同组件设置也不尽相同。
      value: [],
      param: 'columnImage',
      picId: '',
      picIdPram: '',
      rule: {
        required: false,
        validator: checkNameForm,
        trigger: ["change"],
        msg1: '请上传栏目图片！',
        msg2: '',
        api: "",
        type: 'Array',
        key: 'siteDomain',
        params: {}, //校验传参
      },
      label: "栏目图片",
      beforeText: '',
      afterText: '',
      maxCount: 1,
      marginLeft: 32,
      accept: 'png,jpg,jpeg,gif,mp3',
      uploadTitle: '上传图片',
      extra: '',
      type: 'singlePictrueUpload',
      optionValue: '',
      associated: '',
      associatedValue: '',
    },
  },
}